# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=himitsu
pkgver=0.8
pkgrel=0
pkgdesc="A secret storage manager"
url="https://himitsustore.org"
arch="x86_64 aarch64 riscv64" # Hare
license="GPL-3.0-only"
install="$pkgname.post-upgrade"
makedepends="hare scdoc"
subpackages="$pkgname-doc $pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/himitsu/archive/$pkgver.tar.gz"

build() {
	make -j1 PREFIX=/usr
}

check() {
	make PREFIX=/usr check
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

dev() {
	amove usr/src
}

sha512sums="
65947e516b90435d4b9635c6d8762d58c003b4bd3e128499b9f99bc94f6e238e3978f073c0f31c0a863b27026dccc39353fed422db95515610cc288cc65559af  himitsu-0.8.tar.gz
"
